package com.xinyue.cross.server.client;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class BeanConfig {

    @Bean
    public GameServerDiscoveryClient gameServerDiscoveryClient() {
        return new GameServerDiscoveryClient();
    }

    @Bean
    public GameServerConnectionService gameServerConnectionService() {
        return new GameServerConnectionService();
    }

    @Bean
    public GameServerClientService gameServerClientService() {
        return new GameServerClientService();
    }

    @Bean
    public GameServerBalanceService gameServerBalanceService() {
        return new GameServerBalanceService();
    }
}
